package com.robotserver.orders.service;

import com.robotserver.orders.entity.AlimmTokens;
import com.robotserver.orders.vo.TbkOrderTimeVO;
import com.taobao.api.TaobaoClient;
import com.taobao.api.request.TbkScOrderDetailsGetRequest;
import com.taobao.api.response.TbkScOrderDetailsGetResponse;

import java.util.List;

/**
 * @Auther: jianghan
 * @Date: 2019/11/12 19:44
 * @Description: 收货订单同步
 */
public interface TbReceivingOrderSyncService {
    void syncAlimmUnitOrder(List<TbkOrderTimeVO> tbkOrderTimeVOList, AlimmTokens alimmTokens, TaobaoClient client,Long orderScene);
    void syncTimeUnitOrder(TbkOrderTimeVO tbkOrderTime, AlimmTokens alimmTokens, TaobaoClient client,String positionindex,Long pageNo,Long orderScene);
    void ordersAdd(List<TbkScOrderDetailsGetResponse.PublisherOrderDto> orders, AlimmTokens alimmTokens);
    void threadSyncOrder(List<TbkOrderTimeVO> tbkOrderTimeVOList, List<AlimmTokens> alimmTokens, TaobaoClient client, String lockName,Long orderScene);
    void threadLockSyncOrder(List<TbkOrderTimeVO> tbkOrderTimeVOList, List<AlimmTokens> alimmTokens, TaobaoClient client, String lockName,Long orderScene);
    //modify by liuqi on 2021-03-11 10:30
    void threadSyncOrder_consumer(List<TbkOrderTimeVO> tbkOrderTimeVOList, AlimmTokens alimmTokens, TaobaoClient client, Long orderScene);
}
